cmake_minimum_required(VERSION 3.0.2)
project(sr_hardware_interface)
find_package(catkin REQUIRED COMPONENTS roscpp ros_ethercat_hardware ros_ethercat_model)
include_directories(include ${Boost_INCLUDE_DIR} ${catkin_INCLUDE_DIRS})

catkin_package(
        DEPENDS
        CATKIN_DEPENDS roscpp ros_ethercat_hardware ros_ethercat_model
        INCLUDE_DIRS include
        LIBRARIES
)

install(DIRECTORY include/${PROJECT_NAME}/
        DESTINATION ${CATKIN_PACKAGE_INCLUDE_DESTINATION}
        FILES_MATCHING PATTERN "*.hpp"
)